<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script setup>
import { provide, ref } from 'vue';


const currentUser = ref(null);
provide('currentUser', currentUser);

const setCurrentUser = (user) => {
  currentUser.value = user;
};
provide('setCurrentUser', setCurrentUser);
</script>

<style lang="less">
#app {
  height: 100vh;
}
</style>